package cbc.dao.pojo;

import java.util.Date;

/**
 * TCertificate entity. @author MyEclipse Persistence Tools
 */

public class TCertificate implements java.io.Serializable {

	// Fields

	private String certificateId;
	private TDoctor doctor;
	private TUser user;
	private Date beginDate;
	private Date endDate;
	private String status;
	private String remark;

	// Constructors

	/** default constructor */
	public TCertificate() {
	}

	/** minimal constructor */
	public TCertificate(String certificateId, String status) {
		this.certificateId = certificateId;
		
		this.status = status;
	}

	/** full constructor */
	public TCertificate(String certificateId,
			Date beginDate, Date endDate, String status, String remark) {
		this.certificateId = certificateId;
		
		this.beginDate = beginDate;
		this.endDate = endDate;
		this.status = status;
		this.remark = remark;
	}

	// Property accessors

	public String getCertificateId() {
		return this.certificateId;
	}

	public void setCertificateId(String certificateId) {
		this.certificateId = certificateId;
	}

	
	public TDoctor getDoctor() {
		return doctor;
	}

	public void setDoctor(TDoctor doctor) {
		this.doctor = doctor;
	}

	public TUser getUser() {
		return user;
	}

	public void setUser(TUser user) {
		this.user = user;
	}

	public Date getBeginDate() {
		return this.beginDate;
	}

	public void setBeginDate(Date beginDate) {
		this.beginDate = beginDate;
	}

	public Date getEndDate() {
		return this.endDate;
	}

	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}

	public String getStatus() {
		return this.status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

}